package com.df.bpm.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.df.bpm.dto.BusinessInformationDTO4Subset;
import org.apache.ibatis.annotations.Select;

import java.util.List;

public interface BusinessInformationDTO4SubsetMapper extends BaseMapper<BusinessInformationDTO4Subset> {
    @Select("SELECT * \n" +
            "FROM businessOverview.businessInformationDTO4Subset \n" +
            "where groupID=#{groupID} and superior=#{superior} \n" +
            "ORDER BY groupID,sequence,entityID,businessDesc")
    List<BusinessInformationDTO4Subset> getSteps(Integer groupID, Integer superior);
}